﻿@model CommonShop.Service.Product

@{
    ViewBag.Title = "AddProduct";
    Layout = "~/Areas/Manage/Views/Shared/_Layout.cshtml";
}

@using (Html.BeginForm())
{
    <h2>@Html.LabelFor(m => m.Name)</h2>
    <h2>@Html.TextBoxFor(m => m.Name)</h2>
    @Html.ValidationMessageFor(m => m.Name)
    
    <h2>@Html.LabelFor(m => m.TypeId)</h2>
    <h2>@Html.TextBoxFor(m => m.TypeId)</h2>
    @Html.ValidationMessageFor(m => m.TypeId)
    
    
    <h2>@Html.LabelFor(m => m.Remark)</h2>
    <h2>@Html.TextBoxFor(m => m.Remark)</h2>
    @Html.ValidationMessageFor(m => m.Remark)
    
    <input type = "submit" value = "注册" />
}

